﻿using Sidvall.UI.Dialogs;
using System.Threading.Tasks;

namespace Sidvall.UI.Wpf.Dialogs
{
	public class WebDialogManager : IWebDialog
	{
		#region Public Members

		#region ShowDialogAsync

		public async Task ShowDialogAsync(WebDialogContext context)
		{
			var dialog = new WebDialog();
			await dialog.ShowAsync(context, SystemContext.Current.MainWindow);
		}

		#endregion
		#region ToString

		public override string ToString()
		{
			return "Dialog - WebDialogManager";
		}

		#endregion

		#endregion
		#region Constructors

		public WebDialogManager()
		{
		}

		#endregion
	}
}
